package com.bjpowernode.crm.mapper;

import com.bjpowernode.crm.pojo.Transaction;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TransactionMapper {
    void save(Transaction transaction);
    int getCount(@Param("m") Map map);
    List getData(@Param("start") Integer start,
                 @Param("length") Integer length,
                 @Param("m") Map map);

    List getCharts();
}
